package mapEditor.vo
{
	import flash.events.EventDispatcher;
	
	import mapEditor.events.MapEditorEvent;

	public class AssetVO extends EventDispatcher
	{
		private var _id:int;
		private var _name:String="";				
		private var _className:String="";		
		private var _keywords:String="";			
		private var _registerX:int;
		private var _registerY:int;
		private var _registerZ:int;
		
		public function AssetVO()
		{
		}

		public function get id():int
		{
			return _id;
		}

		public function set id(value:int):void
		{
			_id = value;
		}

		public function get className():String
		{
			return _className;
		}

		public function set className(value:String):void
		{
			_className = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get keywords():String
		{
			return _keywords;
		}

		public function set keywords(value:String):void
		{
			_keywords = value;
		}

		public function get registerX():int
		{
			return _registerX;
		}

		public function set registerX(value:int):void
		{
			_registerX = value;
		}

		public function get registerY():int
		{
			return _registerY;
		}

		public function set registerY(value:int):void
		{
			_registerY = value;
		}

		public function get registerZ():int
		{
			return _registerZ;
		}

		public function set registerZ(value:int):void
		{
			_registerZ = value;
		}
		
		public function change():void
		{
			dispatchEvent(new MapEditorEvent(MapEditorEvent.ASSET_ITEM_PROPERTY_CHANGE));
		}
		
		public function dispose():void
		{
			
		}
	}
}